/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：03/05/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/  

package com.application.yfsmsrecord.struts.form;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import java.util.List;
import com.manager.commons.StringUtil;
import com.application.yfsmsrecord.entity.YfSmsrecord;
import java.util.Date;
 /**
 * 
 * Description: YfSmsrecordForm Struts Action Form<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 03/05/2012 .
 * 
 */
public class  YfSmsrecordForm extends ActionForm
{

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;
	
	public YfSmsrecordForm(){
  
	}

		      
	private Long id;
        
        	      
	private Long bussType;
        
        	      
	private String bussId;
        
        	      
	private String receNo;
        
        	      
	private String receUser;
        
        	      
	private Date sendTime;
        
        	      
	private String sendContent;
        
        	      
	private String workitmeId;
        
        	      
	private String org;
        
        	      
	private Long sendType;
        
        	      
	private String operateid;
        
        	      
	private Date createDate;
        
        
        private String ids;

	                                                                        	private String startSendTime;
	private String endSendTime;
                                                                                                        	private String startCreateDate;
	private String endCreateDate;
                        
	                                                                                        	private String sendTimeStr;
                                                                                                        	private String createDateStr;
                        
	
         	         	         	         	         	         	 	/**
	 * @return Returns the SendTime.
	 */
	public String getSendTimeStr(){
	        String re = "";
		if(this.sendTime == null) {
			return re;
		}
		try {
			re = StringUtil.dateToString(this.sendTime);
		}
		catch(Exception e) {
			e.printStackTrace();
		}
		return re;
	}
	

	/**
	 * @param ${field.propertyName} Set the ${field.propertyName}.
	 */	
	public void setSendTimeStr(String sendTimeStr){
		this.sendTimeStr = sendTimeStr;
		if(this.sendTimeStr != null && !"".equals(this.sendTimeStr)) {
			try {
				this.sendTime = StringUtil.stringToDate(this.sendTimeStr);
			}
			catch(Exception e) {
				e.printStackTrace();
			}
		}

	}
                	         	         	         	         	         	 	/**
	 * @return Returns the CreateDate.
	 */
	public String getCreateDateStr(){
	        String re = "";
		if(this.createDate == null) {
			return re;
		}
		try {
			re = StringUtil.dateToString(this.createDate);
		}
		catch(Exception e) {
			e.printStackTrace();
		}
		return re;
	}
	

	/**
	 * @param ${field.propertyName} Set the ${field.propertyName}.
	 */	
	public void setCreateDateStr(String createDateStr){
		this.createDateStr = createDateStr;
		if(this.createDateStr != null && !"".equals(this.createDateStr)) {
			try {
				this.createDate = StringUtil.stringToDate(this.createDateStr);
			}
			catch(Exception e) {
				e.printStackTrace();
			}
		}

	}
                

        	/**
	 * @return Returns the Id
	 */
	public Long getId(){
		return this.id;
	}
	

	/**
	 * @param id Set the id.
	 */	
	public void setId(Long id){
		this.id = id;
	}
	
        	/**
	 * @return Returns the BussType
	 */
	public Long getBussType(){
		return this.bussType;
	}
	

	/**
	 * @param bussType Set the bussType.
	 */	
	public void setBussType(Long bussType){
		this.bussType = bussType;
	}
	
        	/**
	 * @return Returns the BussId
	 */
	public String getBussId(){
		return this.bussId;
	}
	

	/**
	 * @param bussId Set the bussId.
	 */	
	public void setBussId(String bussId){
		this.bussId = bussId;
	}
	
        	/**
	 * @return Returns the ReceNo
	 */
	public String getReceNo(){
		return this.receNo;
	}
	

	/**
	 * @param receNo Set the receNo.
	 */	
	public void setReceNo(String receNo){
		this.receNo = receNo;
	}
	
        	/**
	 * @return Returns the ReceUser
	 */
	public String getReceUser(){
		return this.receUser;
	}
	

	/**
	 * @param receUser Set the receUser.
	 */	
	public void setReceUser(String receUser){
		this.receUser = receUser;
	}
	
        	/**
	 * @return Returns the SendTime
	 */
	public Date getSendTime(){
		return this.sendTime;
	}
	

	/**
	 * @param sendTime Set the sendTime.
	 */	
	public void setSendTime(Date sendTime){
		this.sendTime = sendTime;
	}
	
        	/**
	 * @return Returns the SendContent
	 */
	public String getSendContent(){
		return this.sendContent;
	}
	

	/**
	 * @param sendContent Set the sendContent.
	 */	
	public void setSendContent(String sendContent){
		this.sendContent = sendContent;
	}
	
        	/**
	 * @return Returns the WorkitmeId
	 */
	public String getWorkitmeId(){
		return this.workitmeId;
	}
	

	/**
	 * @param workitmeId Set the workitmeId.
	 */	
	public void setWorkitmeId(String workitmeId){
		this.workitmeId = workitmeId;
	}
	
        	/**
	 * @return Returns the Org
	 */
	public String getOrg(){
		return this.org;
	}
	

	/**
	 * @param org Set the org.
	 */	
	public void setOrg(String org){
		this.org = org;
	}
	
        	/**
	 * @return Returns the SendType
	 */
	public Long getSendType(){
		return this.sendType;
	}
	

	/**
	 * @param sendType Set the sendType.
	 */	
	public void setSendType(Long sendType){
		this.sendType = sendType;
	}
	
        	/**
	 * @return Returns the Operateid
	 */
	public String getOperateid(){
		return this.operateid;
	}
	

	/**
	 * @param operateid Set the operateid.
	 */	
	public void setOperateid(String operateid){
		this.operateid = operateid;
	}
	
        	/**
	 * @return Returns the CreateDate
	 */
	public Date getCreateDate(){
		return this.createDate;
	}
	

	/**
	 * @param createDate Set the createDate.
	 */	
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
	
                
        
	                                                                        	public String getStartSendTime(){
		return this.startSendTime;
	}
	

	/**
	 * @param $field.propertyName Set the ${field.propertyName}.
	 */	
	public void setStartSendTime(String startSendTime){
		this.startSendTime = startSendTime;
	}

	public String getEndSendTime(){
		return this.endSendTime;
	}
	

	/**
	 * @param $field.propertyName Set the ${field.propertyName}.
	 */	
	public void setEndSendTime(String endSendTime){
		this.endSendTime = endSendTime;
	}
                                                                                                        	public String getStartCreateDate(){
		return this.startCreateDate;
	}
	

	/**
	 * @param $field.propertyName Set the ${field.propertyName}.
	 */	
	public void setStartCreateDate(String startCreateDate){
		this.startCreateDate = startCreateDate;
	}

	public String getEndCreateDate(){
		return this.endCreateDate;
	}
	

	/**
	 * @param $field.propertyName Set the ${field.propertyName}.
	 */	
	public void setEndCreateDate(String endCreateDate){
		this.endCreateDate = endCreateDate;
	}
                

	private List<YfSmsrecord> yfSmsrecordList;

       /**
	 * @return the yfsmsrecordformList
	 */
	public List<YfSmsrecord> getYfSmsrecordList() {
		return yfSmsrecordList;
	}

	/**
	 * @param yfSmsrecordList the yfsmsrecordformList to set
	 */
	public void setYfSmsrecordList(List<YfSmsrecord> yfSmsrecordList) {
		this.yfSmsrecordList = yfSmsrecordList;
	}
        
	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

        public String toString(){
		return ReflectionToStringBuilder.toString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
}
